package com.zzq.my.jetpacks.jectpackapp.ui.dzfs

import androidx.core.widget.doAfterTextChanged
import by.kirich1409.viewbindingdelegate.viewBinding
import com.aisier.architecture.base.BaseActivity
import com.zzq.my.jetpacks.jectpackapp.R
import com.zzq.my.jetpacks.jectpackapp.databinding.Activity8Binding
import com.zzq.my.jetpacks.jectpackapp.databinding.ShopIncomingActivityAccountProfitTixianBinding
import com.zzq.my.jetpacks.jectpackapp.databinding.ShopIncomingActivityToAccountTypeBinding
import com.zzq.my.jetpacks.util.goActivity

/**
 * 描述：账号提现
 * 作者：zhuangzeqin
 * 时间: 2022/9/5-9:40
 * 邮箱：zzq@eeepay.cn
 * 备注:
 */
class WithdrawAct:BaseActivity(R.layout.shop_incoming_activity_account_profit_tixian){
    private val binding by viewBinding(ShopIncomingActivityAccountProfitTixianBinding::bind)
    override fun initData() {

    }

    override fun initView() {
        //输入限制最大 默认是6位 小数点2位
        binding.etMoney.addTextChangedListener( EditTextJudgeNumberWatcher( binding.etMoney))
    }

    override fun eventOnClick() {
        binding.tvAccountRecord.setOnClickListener{
            goActivity<AccountRecordAct>(mContext)
        }
    }
}